github.com/refraction-networking/utls.serverHelloMsg.random (field)
28 uses
github.com/refraction-networking/utls (current package)
handshake_client.go#L363: tls12Downgrade := string(serverHello.random[24:]) == downgradeCanaryTLS12
handshake_client.go#L364: tls11Downgrade := string(serverHello.random[24:]) == downgradeCanaryTLS11
handshake_client.go#L659: c.ekm = ekmFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.hello.random, hs.serverHello.random)
handshake_client.go#L816: hs.hello.random, hs.serverHello.random)
handshake_client.go#L879: keysFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.hello.random, hs.serverHello.random, hs.suite.macLen, hs.suite.keyLen, hs.suite.ivLen)
handshake_client_tls13.go#L92: if bytes.Equal(hs.serverHello.random, helloRetryRequestRandom) {
handshake_client_tls13.go#L112: if subtle.ConstantTimeCompare(acceptConfirmation, hs.serverHello.random[len(hs.serverHello.random)-8:]) == 1 {
handshake_client_tls13.go#L509: if bytes.Equal(hs.serverHello.random, helloRetryRequestRandom) {
handshake_messages.go#L753: random []byte
handshake_messages.go#L889: addBytesWithLength(b, m.random, 32)
handshake_messages.go#L911: !s.ReadUint16(&m.vers) || !s.ReadBytes(&m.random, 32) ||
handshake_server.go#L129: c.ekm = ekmFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.clientHello.random, hs.hello.random)
handshake_server.go#L228: hs.hello.random = make([]byte, 32)
handshake_server.go#L229: serverRandom := hs.hello.random
handshake_server.go#L724: hs.clientHello.random, hs.hello.random)
handshake_server.go#L790: keysFromMasterSecret(c.vers, hs.suite, hs.masterSecret, hs.clientHello.random, hs.hello.random, hs.suite.macLen, hs.suite.keyLen, hs.suite.ivLen)
handshake_server_tls13.go#L149: hs.hello.random = make([]byte, 32)
handshake_server_tls13.go#L150: if _, err := io.ReadFull(c.config.rand(), hs.hello.random); err != nil {
handshake_server_tls13.go#L561: random: helloRetryRequestRandom,
handshake_server_tls13.go#L732: copy(hs.hello.random[32-8:], make([]byte, 8))
handshake_server_tls13.go#L745: copy(hs.hello.random[32-8:], acceptConfirmation)
key_agreement.go#L227: signed := hashForServerKeyExchange(sigType, sigHash, ka.version, clientHello.random, hello.random, serverECDHEParams)
key_agreement.go#L353: signed := hashForServerKeyExchange(sigType, sigHash, ka.version, clientHello.random, serverHello.random, serverECDHEParams)
u_handshake_client.go#L527: tls12Downgrade := string(serverHello.random[24:]) == downgradeCanaryTLS12
u_handshake_client.go#L528: tls11Downgrade := string(serverHello.random[24:]) == downgradeCanaryTLS11
u_public.go#L302: random: shm.Random,
u_public.go#L332: Random: shm.random,
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |